package com.maxd.modules.agreement.service;

import com.maxd.error.Result;
import com.maxd.modules.agreement.entity.Agreement;

public interface AgreementService {
    //列表
    Result findAll(Integer page, Integer size, String title);

    //查询
    Result findOne(Long id);

    //删除
    Result delete(Long id);

    //添加
    Result saveBody(Agreement entity);

    //修改
    Result updateBody(Agreement entity);

}
